<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <label for="license">
  <input type="checkbox" id="license" value="agreement" v-model="isag">同意
  </label>
  <h2>选择为{{isag}}</h2>
  <button :disabled="!isag" >下一步</button>

  <input type="checkbox" id="1" value="篮球" v-model="hobby">篮球
  <input type="checkbox" id="2" value="足球" v-model="hobby">足球
  <input type="checkbox" id="3" value="羽毛" v-model="hobby">羽毛球
  <input type="checkbox" id="4" value="乒乓球" v-model="hobby">乒乓球

  <h2>爱好为：{{hobby}}</h2>
</div>

<script src="../js/vue.js"></script>
<script>
  const app = new Vue({
    el:"#app",
    data: {
      message:"stupid mother fucker",
      isag:false,
      hobby:[],
    },
    methods:{
      btnclick(){

      }
    }
  })
</script>
</body>
</html>